<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        /* BOM 浏览器对象模型 browser object model */
        /* 
            window
            alert()
        */
        window.alert(1)
        window.prompt("请输入你的年龄")
        
        

        </script>
</body>
</html>